import {EdgeSimulationProps} from "./data-interface";

export const mockData: EdgeSimulationProps[] = [
  {
    edge: {
      id: "CB11001-CB31001",
      name: "北京_N2_BB_5-上海_N2_BB_5",
    },

    source: {
      id: "CB11001",
      name: "北京_N2_BB_5",
      province: "北京",
      role: "BB",
      label: "BB-c",
    },
    target: {
      id: "CB31001",
      name: "上海_N2_BB_5",
      province: "上海",
      role: "BB",
      label: "BB-c",
    },

    traffDemand: 853.75, // 理论需求流量

    utilDemand: null, // 理论设计利用率
    utilDesign: null, // 实际设计利用率

    baseSize: "10G/100G/400G", // 颗粒度
    convertRule: [],

    bwNow: 530, // 现状带宽
    bwDemand: null, // 理论设计带宽
    bwCalcul: null, // 理论计算带宽
    bwDesign: null, // 实际设计带宽

    bwNowContain: [
      {model: "100G", count: 5},
      {model: "10G", count: 3},
    ], // 现状带宽构成
    bwDemandCosist: null, //需求带宽构成
    bwDesignConsist: null, // 设计带宽构成

    isRecordSelectable: false,
  },
  {
    edge: {
      id: "CB11001-CB41001",
      name: "北京_N2_BB_5-广州_N2_BB_5",
    },

    source: {
      id: "CB11001",
      name: "北京_N2_BB_5",
      province: "北京",
      role: "BB",
      label: "BB-c",
    },
    target: {
      id: "CB41001",
      name: "广州_N2_BB_5",
      province: "广东",
      role: "BB",
      label: "BB-c",
    },

    traffDemand: 1125.37, // 需求流量

    utilDemand: null, // 理论设计利用率
    utilDesign: null, // 实际设计利用率

    baseSize: null, // 基础颗粒度
    convertRule: [],

    bwNow: 1000, // 现状带宽
    bwDemand: null, // 理论设计带宽
    bwCalcul: null, // 理论计算带宽
    bwDesign: null, // 实际设计带宽

    bwNowContain: [
      {model: "400G", count: 2},
      {model: "100G", count: 2},
    ], // 现状带宽构成
    bwDemandCosist: null, //需求带宽构成
    bwDesignConsist: null, // 设计带宽构成

    isRecordSelectable: true,
  },
  {
    edge: {
      id: "CB13001-CB14001",
      name: "石家庄_N2_BB_5-太原_N2_BB_5",
    },

    source: {
      id: "CB13001",
      name: "北京_N2_BB_5",
      province: "河北",
      role: "BB",
      label: "BB-a",
    },
    target: {
      id: "CB14001",
      name: "太原_N2_BB_5",
      province: "山西",
      role: "BB",
      label: "BB-a",
    },

    traffDemand: 357.23, // 需求流量

    utilDemand: 80, // 理论设计利用率
    utilDesign: null, // 实际设计利用率

    baseSize: "10G", // 基础颗粒度
    convertRule: [],

    bwNow: 240, // 现状带宽
    bwDemand: null, // 理论设计带宽
    bwCalcul: null, // 理论计算带宽
    bwDesign: null, // 实际设计带宽

    bwNowContain: [
      {model: "100G", count: 2},
      {model: "10G", count: 4},
    ], // 现状带宽构成
    bwDemandCosist: null, //需求带宽构成
    bwDesignConsist: null, // 设计带宽构成

    isRecordSelectable: true,
  },
  {
    edge: {
      id: "CB51001-CB61001",
      name: "成都_N2_BB_5-西安_N2_BB_5",
    },

    source: {
      id: "CB51001",
      name: "成都_N2_BB_5",
      province: "四川",
      role: "BB",
      label: "BB-c",
    },
    target: {
      id: "CB61001",
      name: "西安_N2_BB_5",
      province: "陕西",
      role: "BB",
      label: "BB-c",
    },

    traffDemand: 820.04, // 需求流量

    utilDemand: null, // 理论设计利用率
    utilDesign: null, // 实际设计利用率

    baseSize: "10G", // 基础颗粒度
    convertRule: [],

    bwNow: 620, // 现状带宽
    bwDemand: null, // 理论设计带宽
    bwCalcul: null, // 理论计算带宽
    bwDesign: null, // 实际设计带宽

    bwNowContain: [
      {model: "200G", count: 2},
      {model: "100G", count: 2},
      {model: "10G", count: 2},
    ], // 现状带宽构成
    bwDemandCosist: null, //需求带宽构成
    bwDesignConsist: null, // 设计带宽构成

    isRecordSelectable: false,
  },

  {
    edge: {
      id: "CB41001-CB43001",
      name: "广州_N2_BB_5-海口_N2_BB_5",
    },

    source: {
      id: "CB41001",
      name: "广州_N2_BB_5",
      province: "广东",
      role: "BB",
      label: "BB-a",
    },
    target: {
      id: "CB43001",
      name: "海口_N2_BB_5",
      province: "海南",
      role: "BB",
      label: "BB-c",
    },

    traffDemand: 168.29, // 需求流量

    utilDemand: null, // 理论设计利用率
    utilDesign: null, // 实际设计利用率

    baseSize: "10G", // 基础颗粒度
    convertRule: [],

    bwNow: 140, // 现状带宽
    bwDemand: null, // 理论设计带宽
    bwCalcul: null, // 理论计算带宽
    bwDesign: null, // 实际设计带宽

    bwNowContain: [
      {model: "100G", count: 1},
      {model: "10G", count: 4},
    ], // 现状带宽构成
    bwDemandCosist: null, //需求带宽构成
    bwDesignConsist: null, // 设计带宽构成

    isRecordSelectable: true,
  },
];
